package cn.iocoder.yudao.module.wms.controller.admin.otherin.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 通用入库单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OtherInPageReqVO extends PageParam {

    @Schema(description = "单据类型", example = "29572")
    private Long docId;

    @Schema(description = "单据日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] docDate;

    @Schema(description = "编号")
    private String code;

    @Schema(description = "交易日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] transactionDate;

    @Schema(description = "制单人")
    private Long operateUser;

    @Schema(description = "制单部门")
    private Long operateDept;

    @Schema(description = "制单日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] operateDate;

    @Schema(description = "审核人")
    private Long approveUser;

    @Schema(description = "审核日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] approveDate;

    @Schema(description = "业务合计数量")
    private BigDecimal businessSumQty;

    @Schema(description = "成本合计金额")
    private BigDecimal costSumAmt;

    @Schema(description = "审核状态", example = "1")
    private Boolean approveStatus;

    @Schema(description = "附件")
    private String annex;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}